package com.bjsxt;

class generic<T> {
    private T t;
    public T getT()
    {
        return t;
    }
    public void setT(T t)
    {
        this.t = t;
    }
}

public class Generac {
    public static void main(String[ ] args)
    {
        System.out.println("hello world");
        generic<String> g = new generic<>();
        g.setT("hello");
        System.out.println(g.getT());
    }
}
